package com.commute.data;
import java.util.LinkedList;


public class Stop {
	String name;
	int id;
	double lat;
	double lon;
	LinkedList<Integer> routes;
	
	double currentDistance=0;
	
	public Stop(String name, int id, double lat, double lon){
		this.name=name;
		this.id=id;
		this.lat=lat;
		this.lon=lon;
		this.routes = new LinkedList<Integer>();
		
	}
	public void addRoute(int route_id){
		routes.add(route_id);
	}
	
	public void setCurrentDistance(double currentDistance){
		this.currentDistance=currentDistance;
	}
	
	public double getCurrentDistance(){
		return currentDistance;
	}
	
	public LinkedList<Integer> getRoutes(){
		return routes;
	}
	
	public double getLat(){
		return lat;
	}
	
	public double getLon(){
		return lon;
	}
	
	public int getStopId(){
		return id;
	}
	
	public String getStopName(){
		return name;
	}
}
